We have to use the internal accessor to the visible flag, instead of
calling gtk_widget_set_visible(), from within the show() and hide()
implementations - otherwise we'll recurse.
https://bugzilla.gnome.org/show_bug.cgi?id=721069
static void
gtk_win32_embed_widget_show (GtkWidget *widget)
{
- gtk_widget_set_visible (widget, TRUE);
+ _gtk_widget_set_visible_flag (widget, TRUE);
gtk_widget_realize (widget);
gtk_container_check_resize (GTK_CONTAINER (widget));
static void
gtk_win32_embed_widget_hide (GtkWidget *widget)
{
- gtk_widget_set_visible (widget, FALSE);
+ _gtk_widget_set_visible_flag (widget, FALSE);
gtk_widget_unmap (widget);
}